<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>4-显示年龄</title>
	</head>
	<body>
		<script type="text/javascript">
			var age = prompt('请输入您的年龄');
			alert(age);
		</script>
	</body>
</html>
